package com.yhn.init.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 审批信息
 *
 * @TableName approvals
 */
@TableName(value = "approvals")
@Data
public class Approvals implements Serializable {
    /**
     * 审批ID
     */
    @TableId(type = IdType.ASSIGN_ID)

    private Long id;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 审批者ID
     */
    private Long userId;

    /**
     * 是否删除0-不删除，1-删除
     */
    private Integer isDelete;

    /**
     * 审批时间
     */
    private Date approvalDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
